package org.dromara.business.domain.vo;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
public class TransactionInfoVO {

    private String txHash;
    private String fromAddress;
    private String toAddress;
    private String value;
    private BigDecimal valueInEther;
    private BigDecimal valueInUSD;
    private String gasPrice;
    private String gasUsed;
    private BigDecimal gasFee;
    private BigDecimal gasFeeInUSD;
    private Long blockNumber;
    private String blockHash;
    private Integer txIndex;
    private Long nonce;
    private String inputData;
    private Boolean isContract;
    private String contractAddress;
    private String methodId;
    private String tokenSymbol;
    private Integer tokenDecimals;
    private String network;
    private Integer status;
    private String statusDesc;
    private Integer confirmations;
    private LocalDateTime txTime;
    private String txType;
    private String errorMessage;
}
